﻿namespace TestTool.HttpTransport.Internals.Http
{
    using System;
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using System.Runtime.CompilerServices;

    internal class HttpPacket
    {
        public HttpPacket()
        {
            this.Headers = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
            this.Connection = new StringCollection();
        }

        public int BodyOffset { get; set; }

        public StringCollection Connection { get; private set; }

        public int ContentLength { get; set; }

        public string ContentType { get; set; }

        public string Encoding { get; set; }

        public Dictionary<string, string> Headers { get; private set; }

        public string HttpVersion { get; set; }

        public bool NoBodySupposed { get; set; }

        public int StatusCode { get; set; }

        public string StatusDescription { get; set; }
    }
}

